package com.itmuch.cloud.moviecustomer.feign;

import org.springframework.cloud.openfeign.FeignClient;

import com.itmuch.cloud.moviecustomer.config.FooConfiguration;
import com.itmuch.cloud.moviecustomer.entity.User;

import feign.Param;
import feign.RequestLine;

@FeignClient(name="movie-service",configuration = FooConfiguration.class)
public interface UserConfigFeign {
	
	@RequestLine("GET /findUserByid/{id}")
    User findUserByid2(@Param("id") Long id);

}
